package com.glodon.paas.account.dao.mongo;

import com.glodon.paas.account.dao.CompanyDao;
import com.glodon.paas.account.dao.domain.CompanyEntity;
import com.google.code.morphia.query.Query;

public class CompanyDaoMongoImpl extends MongoDBDao<CompanyEntity, String> implements CompanyDao {

	@Override
	public void update(CompanyEntity company) {
		Query<CompanyEntity> q = this.createQuery().filter("id =", company.getId());
		super.update(q, company);
	}

}
